package com.jisf.driver.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jisf.driver.entity.po.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jisf.driver.entity.po.User;
import com.jisf.driver.entity.vo.StudentMessageVo;
import com.jisf.driver.entity.vo.UserListRequestVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jisf
 * @since 2022-05-06
 */
public interface StudentMapper extends BaseMapper<Student> {

    StudentMessageVo getMessage(Integer userid);

    List<StudentMessageVo> allStudent(UserListRequestVo userListRequestVo, Page<User> page);
}
